home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
nt
/
ntkb.zip
/
NTKB.EXE
/
Q109
/
9
/
28.TXT
< prev
next >
Wrap
Text File
|
1994-01-18
|
2KB
|
65 lines
DOCUMENT:Q109928 12-JAN-1994 [W_NT]
TITLE :Printing from MS-DOS Applications to Locally Attached Printer
PRODUCT :Windows NT
PROD/VER:3.10
OPER/SYS:WINDOWS
KEYWORDS:
--------------------------------------------------------------------------
The information in this article applies to:
- Microsoft Windows NT operating system version 3.1
- Microsoft Windows NT Advanced Server version 3.1
--------------------------------------------------------------------------
SUMMARY
=======
You can print from MS-DOS applications running in Microsoft Windows NT to a
printer attached locally only through a network redirection.
MORE INFORMATION
================
Most MS-DOS-based applications in Windows NT are run in a Virtual DOS
Machine (VDM). Some such applications tend to write to the printer port
directly. Windows NT, on the other hand, does not allow any direct access
to any hardware device. For serial printers, the MS-DOS redirection command
does not usually work.
To print to a serial printer attached locally, do the following:
1. Create a printer with the appropriate printer driver and port.
2. Select the option to share the printer and assign a name.
3. From the command prompt, type:
NET USE LPT1: \\<Computer Name>\<Printer Share Name>
4. Choose LPT1 to print from the MS-DOS application. The direction should
be valid for the current VDM.
If you are printing to a printer attached to LPT1:, the network redirection
must not be LPT1:, otherwise the print job will never be released from
Print Manager.
Additional reference words: 3.10 NET USE
KBCategory:
KBSubCategory: ntapp
=============================================================================
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO
EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION
OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1994.